package com.walter.web.action;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;
import com.walter.domain.TeacherInfo;
import com.walter.service.TeacherInfoService;
import com.walter.service.impl.TeacherInfoServiceImpl;

public class FindTeacherByNameAction extends ActionSupport implements ModelDriven<TeacherInfo> {
	private TeacherInfo teacher=new TeacherInfo();
	private TeacherInfoService tInfoS=new TeacherInfoServiceImpl();
	//查询老师
	public String list(){
		
		return "toList";
		
	}
	@Override
	public TeacherInfo getModel() {
		return teacher;
	}

}
